home *** CD-ROM | disk | FTP | other *** search
/ ring.yamanashi.ac.jp/pub/pc/freem/action/ / action.zip / kappa_ver1.1.lzh / 宇宙がっぱ ピキッ ver1.1 / Xfile / Drill / flat.X < prev    next >
Text File  |  2002-01-20  |  3KB  |  178 lines

  1. xof 0302txt 0064
  2. // LWS2X generated file 
  3. // (LWS2X (C)1996,1997 A.Koizuka/Bio_100%  mail:koizuka@ss.iij4u.or.jp )
  4. // http://www.ss.iij4u.or.jp/~koizuka/
  5.  
  6. template Header {
  7.  <3D82AB43-62DA-11cf-AB39-0020AF71E433>
  8.  WORD major;
  9.  WORD minor;
  10.  DWORD flags;
  11. }
  12.  
  13. template Vector {
  14.  <3D82AB5E-62DA-11cf-AB39-0020AF71E433>
  15.  FLOAT x;
  16.  FLOAT y;
  17.  FLOAT z;
  18. }
  19.  
  20. template Coords2d {
  21.  <F6F23F44-7686-11cf-8F52-0040333594A3>
  22.  FLOAT u;
  23.  FLOAT v;
  24. }
  25.  
  26. template Matrix4x4 {
  27.  <F6F23F45-7686-11cf-8F52-0040333594A3>
  28.  array FLOAT matrix[16];
  29. }
  30.  
  31. template ColorRGBA {
  32.  <35FF44E0-6C7C-11cf-8F52-0040333594A3>
  33.  FLOAT red;
  34.  FLOAT green;
  35.  FLOAT blue;
  36.  FLOAT alpha;
  37. }
  38.  
  39. template ColorRGB {
  40.  <D3E16E81-7835-11cf-8F52-0040333594A3>
  41.  FLOAT red;
  42.  FLOAT green;
  43.  FLOAT blue;
  44. }
  45.  
  46. template IndexedColor {
  47.  <1630B820-7842-11cf-8F52-0040333594A3>
  48.  DWORD index;
  49.  ColorRGBA indexColor;
  50. }
  51.  
  52. template Boolean {
  53.  <4885AE61-78E8-11cf-8F52-0040333594A3>
  54.  WORD truefalse;
  55. }
  56.  
  57. template Boolean2d {
  58.  <4885AE63-78E8-11cf-8F52-0040333594A3>
  59.  Boolean u;
  60.  Boolean v;
  61. }
  62.  
  63. template MaterialWrap {
  64.  <4885AE60-78E8-11cf-8F52-0040333594A3>
  65.  Boolean u;
  66.  Boolean v;
  67. }
  68.  
  69. template TextureFilename {
  70.  <A42790E1-7810-11cf-8F52-0040333594A3>
  71.  STRING filename;
  72. }
  73.  
  74. template Material {
  75.  <3D82AB4D-62DA-11cf-AB39-0020AF71E433>
  76.  ColorRGBA faceColor;
  77.  FLOAT power;
  78.  ColorRGB specularColor;
  79.  ColorRGB emissiveColor;
  80.  [...]
  81. }
  82.  
  83. template MeshFace {
  84.  <3D82AB5F-62DA-11cf-AB39-0020AF71E433>
  85.  DWORD nFaceVertexIndices;
  86.  array DWORD faceVertexIndices[nFaceVertexIndices];
  87. }
  88.  
  89. template MeshFaceWraps {
  90.  <4885AE62-78E8-11cf-8F52-0040333594A3>
  91.  DWORD nFaceWrapValues;
  92.  Boolean2d faceWrapValues;
  93. }
  94.  
  95. template MeshTextureCoords {
  96.  <F6F23F40-7686-11cf-8F52-0040333594A3>
  97.  DWORD nTextureCoords;
  98.  array Coords2d textureCoords[nTextureCoords];
  99. }
  100.  
  101. template MeshMaterialList {
  102.  <F6F23F42-7686-11cf-8F52-0040333594A3>
  103.  DWORD nMaterials;
  104.  DWORD nFaceIndexes;
  105.  array DWORD faceIndexes[nFaceIndexes];
  106.  [Material]
  107. }
  108.  
  109. template MeshNormals {
  110.  <F6F23F43-7686-11cf-8F52-0040333594A3>
  111.  DWORD nNormals;
  112.  array Vector normals[nNormals];
  113.  DWORD nFaceNormals;
  114.  array MeshFace faceNormals[nFaceNormals];
  115. }
  116.  
  117. template MeshVertexColors {
  118.  <1630B821-7842-11cf-8F52-0040333594A3>
  119.  DWORD nVertexColors;
  120.  array IndexedColor vertexColors[nVertexColors];
  121. }
  122.  
  123. template Mesh {
  124.  <3D82AB44-62DA-11cf-AB39-0020AF71E433>
  125.  DWORD nVertices;
  126.  array Vector vertices[nVertices];
  127.  DWORD nFaces;
  128.  array MeshFace faces[nFaces];
  129.  [...]
  130. }
  131.  
  132. Header {
  133.  1;
  134.  0;
  135.  1;
  136. }
  137.  
  138. Material MatROK8 {
  139.  1.000000;1.000000;1.000000;1.000000;;
  140.  0.000000;
  141.  0.000000;0.000000;0.000000;;
  142.  0.000000;0.000000;0.000000;;
  143. }
  144. Material MatROK9 {
  145.  0.000000;0.000000;0.000000;1.000000;;
  146.  0.000000;
  147.  0.000000;0.000000;0.000000;;
  148.  0.000000;0.000000;0.000000;;
  149. }
  150. Mesh {
  151.  4;
  152.  -1.005548;0.002543;1.003005;,
  153.  1.005548;0.002543;1.003005;,
  154.  -1.005548;0.002543;-0.976667;,
  155.  1.005548;0.002543;-0.976667;;
  156.  
  157.  2;
  158.  4;2,0,1,3;,
  159.  4;3,1,0,2;;
  160.  
  161.  MeshMaterialList {
  162.   2;
  163.   1;
  164.   0;;
  165.   {MatROK8}
  166.   {MatROK9}
  167.  }
  168.  MeshNormals {
  169.   2;
  170.   0.000000;1.000000;0.000000;,
  171.   0.000000;-1.000000;0.000000;;
  172.  
  173.   2;
  174.   4;0,0,0,0;,
  175.   4;1,1,1,1;;
  176.  }
  177. }
  178.